<!-- 护理文书单总结样式 -->
<template>
  <span>
    <span v-if="(typeof filedName) == 'string' && filedName.indexOf(';') > 0">
      <p
        style="margin: 0 5px;border-bottom: 1px solid #333;"
        :style="{borderColor: (border ? '#333' : '')}"
      >{{ filedName.split(';')[0] }}</p>
      <p style="margin: 0;">{{ filedName.split(';')[1] }}</p>
    </span>
    <span v-else>{{ filedName }}</span>
  </span>
</template>

<script>

export default {
  props: {
    filedName: String,
    border: Boolean
  }
};
</script>
